<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>微信用户管理</title>
	<meta name="decorator" content="default"/>
	<script type="text/javascript">
        $(document).ready(function() {
            $("#value").focus();
            $("#inputForm").validate({
                submitHandler: function(form){
                    loading('正在提交，请稍等...');
                    form.submit();
                },
                errorContainer: "#messageBox",
                errorPlacement: function(error, element) {
                    $("#messageBox").text("输入有误，请先更正。");
                    if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
                        error.appendTo(element.parent().parent());
                    } else {
                        error.insertAfter(element);
                    }
                }
            });
        });
	</script>
</head>
<body>
<ul class="nav nav-tabs">
	<li><a href="${ctx}/business/wechatuser">微信用户</a></li>
	<li class="active"><a href="${ctx}/business/wechatuser?id=${wechatuser.id}">微信用户<shiro:hasPermission name="business:wechatuser:edit">${not empty wechatuser.id?'修改':'添加'}</shiro:hasPermission><shiro:lacksPermission name="business:wechatuser:edit">查看</shiro:lacksPermission></a></li>
</ul><br/>
<form:form id="inputForm" modelAttribute="weChatUser" action="${ctx}/business/wechatuser/save" method="post" class="form-horizontal">
	<form:hidden path="id"/>
	<tags:message content="${message}"/>
	  <div class="control-group">
      	<label class="control-label">创建人:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="createBy" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="createBy" name="createBy" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">创建日期:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input  path="createDate" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="createDate" name="createDate" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">删除标志 0：正常；1：删除；2：审核:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="delFlag" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="delFlag" name="delFlag" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">备注:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="remarks" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="remarks" name="remarks" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">修改人:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="updateBy" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="updateBy" name="updateBy" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">更新日期:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="updateDate" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="addDate" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="city" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="country" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="groupId" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="headImgUrl" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="language" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="name" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="nickName" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="updateDate" name="updateDate" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
    </div>
	  <div class="control-group">
      	<label class="control-label">添加日期</label>
      	<div class="controls">
      		<form:input path="addDate" name="addDate" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">城市</label>
      	<div class="controls">
      		<form:input path="city" name="city" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">省份</label>
      	<div class="controls">
      		<form:input path="country" name="country" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">分组情况</label>
      	<div class="controls">
      		<form:input path="groupId" name="groupId" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">图片路径</label>
      	<div class="controls">
      		<form:input path="headImgUrl" name="headImgUrl" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">语种</label>
      	<div class="controls">
      		<form:input path="language" name="language" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">用户名 </label>
      	<div class="controls">
      		<form:input path="name" name="name" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">昵称</label>
      	<div class="controls">
      		<form:input path="nickName" name="nickName" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">微信openid:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="openId" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="province" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="remark" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="sex" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="subscribe" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="subscribeTime" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="tagidList" htmlEscape="false" maxlength="50" class="required"/>
=======
      		<form:input path="openId" name="openId" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">不知道</label>
      	<div class="controls">
      		<form:input path="province" name="province" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">状态类的标签</label>
      	<div class="controls">
      		<form:input path="remark" name="remark" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">性别</label>
      	<div class="controls">
      		<form:input path="sex" name="sex" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">不知道什么字段</label>
      	<div class="controls">
      		<form:input path="subscribe" name="subscribe" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">这个也不知道</label>
      	<div class="controls">
      		<form:input path="subscribeTime" name="subscribeTime" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">类似集合的东西</label>
      	<div class="controls">
      		<form:input path="tagidList" name="tagidList" htmlEscape="false" maxlength="50" class="required"/>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">用户类型 0:未分类 1:家长 2:销售 3:教师:</label>
      	<div class="controls">
<<<<<<< HEAD
      		<form:input path="type" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <div class="control-group">
      	<label class="control-label">:</label>
      	<div class="controls">
      		<form:input path="unionId" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
=======
      		<form:input path="type" name="type" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>
	  <%--<div class="control-group">
      	<label class="control-label">工会id</label>
      	<div class="controls">
      		<form:input path="unionId" name="unionId" htmlEscape="false" maxlength="50" class="required"/>
      	</div>
      </div>--%>
>>>>>>> 53602faf99fe7b0861de16a243f74518370545f5
	<div class="form-actions">
		<shiro:hasPermission name="business:wechatuser:edit"><input id="btnSubmit" class="btn btn-primary" type="submit" value="保 存"/>&nbsp;</shiro:hasPermission>
		<input id="btnCancel" class="btn" type="button" value="返 回" onclick="history.go(-1)"/>
	</div>
</form:form>
</body>
</html>